<html>
	<head>
		<title>jQueryAPI Options</title>
		<link href="app:/assets/css/core.css" rel="stylesheet" type="text/css" />
		<link href="app:/assets/css/ui.css" rel="stylesheet" type="text/css" />
		<link href="app:/assets/css/options.css" rel="stylesheet" type="text/css" />
		
		<script type="text/javascript" src="app:/lib/air/AIRAliases.js"></script>
		<script type="text/javascript" src="app:/lib/jquery/jquery.js"></script>
		<script type="text/javascript" src="app:/lib/ui/jquery.ui.all.js"></script>
		
		<script type="text/javascript" src="app:/com/jquery/jQueryAPI.js"></script>
		<script type="text/javascript" src="app:/com/jquery/jQueryAPI.Menu.js"></script>
		<script type="text/javascript" src="app:/com/jquery/jQueryAPI.Network.js"></script>
		<script type="text/javascript" src="app:/com/jquery/jQueryAPI.Database.js"></script>
		<script type="text/javascript" src="app:/com/jquery/jQueryAPI.Options.js"></script>
		<script type="text/javascript" src="app:/com/jquery/jQueryAPI.Update.js"></script>
		<script type="text/javascript" src="app:/com/jquery/jQueryAPI.Window.js"></script>
		
		
		<script type="text/javascript">
			jQuery(document).ready(function(){
				jQuery('#options-tabs').tabs();
				jQuery('#options-panel-save').submit(function(){
					jQueryAPI.Options.SaveHandler(this);
				});
			});
		</script>
		
	</head>
	<body>
		<ul id="options-tabs">
			<li><a href="#options-panel-1">Main Options</a></li>
			<li><a href="#options-panel-2">Update Options</a></li>
		</ul>
		
		<div id="options-panel-1" class="options-panel">
			<form id="options-panel-save">
				<fieldset>
					<legend>Main Options</legend>
					<table>
						<tbody>
						<tr>
							<th scope="row"><label for="option-open-app-on-startup">Open jQueryAPI Browser on startup</label></th>
							<td scope="row"><input type="checkbox" rel="app_startup" name="option-open-app-on-startup" id="option-open-app-on-startup" /></td>
						</tr>
					</tbody>
				</table>
				</fieldset>
				<input type="submit" class="ignore-in-save" value="Save Options" />
		</div>
		
		<div id="options-panel-2" class="options-panel">
				<fieldset>
					<legend>Update Options</legend>
					<table>
						<tbody>
						<tr>
							<th scope="row"><label for="option-update-checktime">Frequency of API Update Checks</label></th>
							<td scope="row"><input type="text" name="option-update-checktime" id="option-update-checktime" value="6"/> hours</td>
						</tr>
					</tbody>
				</table>
				</fieldset>
				<input type="submit" class="ignore-in-save" value="Save Options" />
			</form>
		</div>
		
		
	</body>
</html>